package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.member.model.MemberOrderGetUnpaidList;
/**
* 获取我的待支付订单列表
* @author wliu
* edit tse
*/
public class MemberOrderGetUnpaidListResponse extends RudderResponse{

private List<MemberOrderGetUnpaidList> getUnpaidList = new ArrayList<MemberOrderGetUnpaidList>();


/**
* @return getUnpaidList
*/
public List<MemberOrderGetUnpaidList> getGetUnpaidList() {
return this.getUnpaidList;
}

/**
* @return getUnpaidList
*/
public void setGetUnpaidList(List<MemberOrderGetUnpaidList> getUnpaidList) {
this.getUnpaidList = getUnpaidList;
}
/**
methodName    GetUnpaidList
type          List<MemberOrderGetUnpaidList>
name          getUnpaidList
defaultType   new ArrayList<MemberOrderGetUnpaidList>()
*/

/**


    private static void filterFor(MemberOrderGetUnpaidListOrdersGoods member) {
        if (member.getProductId() == null) {
            member.setProductId("");
        }
        if (member.getName() == null) {
            member.setName("");
        }
        if (member.getPrice() == null) {
            member.setPrice("");
        }
        if (member.getQuantity() == null) {
            member.setQuantity("");
        }
        if (member.getThumbnailPic() == null) {
            member.setThumbnailPic("");
        }
        if (member.getSubTotal() == null) {
            member.setSubTotal("");
        }
        if (member.getSpec() == null) {
            member.setSpec("");
        }
    }

    private static void filterFor(MemberOrderGetUnpaidListOrders member) {
        if (member.getOrderId() == null) {
            member.setOrderId("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getTotal() == null) {
            member.setTotal("");
        }
        if (member.getStatus() == null) {
            member.setStatus("");
        }
        if (member.getGoods() == null) {
            member.setGoods(new ArrayList<MemberOrderGetUnpaidListOrdersGoods>());
        } else {
            for (MemberOrderGetUnpaidListOrdersGoods item : member.getGoods()) {
                filterFor(item);
            }
        }
        if (member.getWareName() == null) {
            member.setWareName("");
        }
        if (member.getSubTax() == null) {
            member.setSubTax("");
        }
    }

    private static void filterFor(MemberOrderGetUnpaidList member) {
        if (member.getGroupOrderId() == null) {
            member.setGroupOrderId("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getOrders() == null) {
            member.setOrders(new ArrayList<MemberOrderGetUnpaidListOrders>());
        } else {
            for (MemberOrderGetUnpaidListOrders item : member.getOrders()) {
                filterFor(item);
            }
        }
    }

    public static void filter(MemberOrderGetUnpaidListResponse member) {
        if (member.getGetUnpaidList() == null) {
            member.setGetUnpaidList(new ArrayList<MemberOrderGetUnpaidList>());
        } else {
            for (MemberOrderGetUnpaidList item : member.getGetUnpaidList()) {
                filterFor(item);
            }
        }
    }

*/

}
